package com.chenhs.oop.study.其他;

import java.util.Calendar;
import java.util.Date;

/**
 * @program: JAVA300
 * @description: 关于时间的算法
 * @author: peanut
 * @create: 2019-03-05 22:57
 */
public class 日历 {
    public static void main(String[] args) {

        Calendar instance = Calendar.getInstance();
        instance.setTime(new Date());
        System.out.println(instance.get(Calendar.DATE));

    }


}
